package com.none.web.model;


import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "t_staff_push_info")
public class TStaffpushinfo  implements java.io.Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -691367117999086301L;
	@Id
	private String udid;//设备编号
	private String channelId;//
	private String userId;//
	private String username;//用户Id
	private Timestamp addtime;//添加时间
	private String device_type;//设备类型
	@Id
	@Column(name = "udid", unique = true, nullable = false)
	public String getUdid() {
		return udid;
	}
	public void setUdid(String udid) {
		this.udid = udid;
	}
	
	@Column(name = "channelId")
	public String getChannelId() {
		return channelId;
	}
	public void setChannelId(String channelId) {
		this.channelId = channelId;
	}
	
	@Column(name = "userId")
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	@Column(name = "username")
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	@Column(name = "addtime")
	public Timestamp getAddtime() {
		return addtime;
	}
	public void setAddtime(Timestamp addtime) {
		this.addtime = addtime;
	}
	@Column(name = "device_type")
	public String getDevice_type() {
		return device_type;
	}
	public void setDevice_type(String device_type) {
		this.device_type = device_type;
	}
}
